//ZBRUSH MACRO - Recorded in ZBrush version 4.7
[VarDef,myVar,0]
//[VarDef,myVar2,0]
[IButton,???,"Reverses the Canvas Color gradient rate",
[IShowActions,0]
[IConfig,4.7]
   [VarSet,myVar,[IGet,Document:Rate]]
   [VarSet,myVar,NEG(myVar)]
   [ISet,Document:Rate,myVar]
]